c# remove 0 from string

57

c# remove 0 from string -

String str ="000234".TrimStart(new Char[] { '0' } );

Console.WriteLine(str);

 //Output: 234

Comments

Submit
0 Comments